import re

reg = '^-.*'

s = '-1 day'

mat=re.search(reg,s)
print(mat.group())